package com.example.mybatis.executor;

import com.example.mybatis.config.Config;
import com.example.mybatis.mapper.MapperMethod;

public interface Executor {
    /**
     * 查询信息
     */
    <T> T query(final Config conifg, MapperMethod mapperMethod, Object[] args);

    int update(final Config config, MapperMethod method, Object[] args);
}
